package com.sun.temp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.temp.bean.Material;
import com.sun.temp.bean.Qakansa;

import java.io.File;
import java.util.List;

public interface MaterialService extends IService<Material> {

    List<Material> queryMaterial();

    List<Material> queryMaterialByDate(String date);

    List<Material> queryMaterialByGradeAndBatch(String grade,String batch);

    List<Material> queryMaterialByStatus(Integer stats);

    List<Material> queryBatchByTaskId(Integer taskId);

    List<Material> queryMaterialToday();

    List<Material> queryBatchSuccessByTaskId(Integer taskId);

    void insertList(List<Qakansa> qakansas, Integer taskId);

    boolean saveAutoMaterial(File path);

    List<Material> queryResultByTaskId(Integer taskId);

}
